-- GENERATED SPELL FOR [Razormane Dustrunner] --


function spell0_3113(pUnit, Event) --@Faerie Fire,n/a--
pUnit:FullCastSpellOnTarget(6950,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3113', 2000, 1)
end

function spell1_3113(pUnit, Event) --@Rejuvenation,n/a--
pUnit:FullCastSpellOnTarget(774,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3113', 12000, 1)
end

function Sorts_3113(pUnit, Event)
local choix_sorts_3113 = math.random(0, 1)
if choix_sorts_3113 == 0 then
pUnit:RegisterEvent('spell0_3113', 1, 1)
end
if choix_sorts_3113 == 1 then
pUnit:RegisterEvent('spell1_3113', 1, 1)
end
end

function mob3113_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3113', math.random(1500, 3000), 1)
end

function mob3113_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3113_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3113_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3113, 1, 'mob3113_Action')
RegisterUnitEvent(3113, 2, 'mob3113_Leave')
RegisterUnitEvent(3113, 3, 'mob3113_Kill')
RegisterUnitEvent(3113, 4, 'mob3113_Die')
